package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 信用服务类型对象 service_type
 * 
 * @author Jack
 * @date 2025-07-04
 */
public class ServiceType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long id;

    /** 服务名称 */
    @Excel(name = "服务名称")
    private String name;

    /** 服务分类 */
    @Excel(name = "服务分类")
    private String category;

    /** 最低信用分要求 */
    @Excel(name = "最低信用分要求")
    private Long minCreditScore;

    /** 授信额度 */
    @Excel(name = "授信额度")
    private Long creditLimit;

    /** 服务说明 */
    @Excel(name = "服务说明")
    private String description;

    /** 服务图标 */
    @Excel(name = "服务图标")
    private String iconUrl;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setCategory(String category) 
    {
        this.category = category;
    }

    public String getCategory() 
    {
        return category;
    }

    public void setMinCreditScore(Long minCreditScore) 
    {
        this.minCreditScore = minCreditScore;
    }

    public Long getMinCreditScore() 
    {
        return minCreditScore;
    }

    public void setCreditLimit(Long creditLimit) 
    {
        this.creditLimit = creditLimit;
    }

    public Long getCreditLimit() 
    {
        return creditLimit;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setIconUrl(String iconUrl) 
    {
        this.iconUrl = iconUrl;
    }

    public String getIconUrl() 
    {
        return iconUrl;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("category", getCategory())
            .append("minCreditScore", getMinCreditScore())
            .append("creditLimit", getCreditLimit())
            .append("description", getDescription())
            .append("iconUrl", getIconUrl())
            .toString();
    }
}
